package com.tmxk.controller.user;

import com.tmxk.service.user.SysUserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/sysUser")
public class SysUserController {

    @Resource
    private SysUserService sysUserService;

    @GetMapping("/queryUserInfo.do")
    public List<Map<String, Object>> queryUserInfo(){
        return sysUserService.queryUserInfo();
    }
}
